package com.hh.m15e.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hh.m15e.domain.ProMyfbyYbDjfycx;
import com.hh.m15e.domain.dto.DiseinfoList;
import com.hh.m15e.domain.dto.FeeDetailList;
import com.hh.m15e.domain.Input6201;
import com.hh.m15e.domain.po.StatusCode;
import com.hh.m15e.mapper.ProMyfbyYbDjfycxMapper;
import com.hh.m15e.service.IProMyfbyYbDjfycxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import java.util.List;
import java.util.Map;

/**
 * 作者: Ⅹ玖
 * 创建日期：2025/2/19 11:56
 * 文档描述：
 */
@Service
public class ProMyfbyYbDjfycxServiceImpl extends ServiceImpl<ProMyfbyYbDjfycxMapper, ProMyfbyYbDjfycx> implements IProMyfbyYbDjfycxService {

    @Autowired
    private ProMyfbyYbDjfycxMapper proMyfbyYbDjfycxMapper;
    @Override
    public ProMyfbyYbDjfycx callProMyfbyYbDjfycx(Map<String, String> params) {
        List<Object> lists = proMyfbyYbDjfycxMapper.callProMyfbyYbDjfycx(params);
        System.out.println(lists);
        return new ProMyfbyYbDjfycx(((List<StatusCode>)lists.get(0)).get(0),((List<Input6201>)lists.get(1)).get(0),(List<FeeDetailList>) lists.get(2),(List<DiseinfoList>)lists.get(3));
    }
}
